import { request } from './request';

export function getHomeAllData() {
  return request(
    {
      url: '/api/index',
      method: 'get',
    }
  )
}

export function getBanner() {

}

export function getHomeGoods(type = 1, page = 1) {
  return request(
    {
      url: 'api/index?' + type + '=1&page=' + page,
      method: 'get',
    }
  )
}


